package com.yq.testmodule

import android.view.View
import base.BaseActivity
import com.alibaba.android.arouter.facade.annotation.Route
import com.alibaba.android.arouter.launcher.ARouter
import config.TEST_BARRAGE
import config.TEST_BEHAVIOR
import config.TEST_EMOJI
import config.TEST_EXOOPlayer
import config.TEST_HOOK
import config.TEST_LAYOUT_MANAGE
import config.TEST_LIST
import config.TEST_Lottie
import config.TEST_PAGING3
import config.TEST_SKIN
import config.TEST_SecondFloor
import config.TEST_TextAlign
import config.TEST_TextWithMore
import config.TEST_TikTok
import config.TEST_VIEWPAGER2

/**
 * @author: user
 * @date: 2023/3/14
 */
@Route(path = TEST_LIST)
class TestListActivity:BaseActivity() {
    override fun initLayout(): Int {
        return R.layout.activity_test_list
    }

    override fun initView() {

    }

    override fun initData() {

    }

    fun hookTest(view: View) {
        ARouter.getInstance().build(TEST_HOOK).navigation()
    }

    fun customEmoji(view: View) {
        ARouter.getInstance().build(TEST_EMOJI).navigation()
    }
    fun barrageTest(view: View) {
        ARouter.getInstance().build(TEST_BARRAGE).navigation()
    }
    fun customLayoutManage(view: View){
        ARouter.getInstance().build(TEST_LAYOUT_MANAGE).navigation()
    }

    fun tiktokVideoPlay(view: View) {
        ARouter.getInstance().build(TEST_TikTok).navigation()
    }

    fun textAlign(view: View) {
        ARouter.getInstance().build(TEST_TextAlign).navigation()
    }

    fun textBehavior(view: View) {
        ARouter.getInstance().build(TEST_BEHAVIOR).navigation()
    }

    fun textVp2(view: View) {
        ARouter.getInstance().build(TEST_VIEWPAGER2).navigation()
    }

    fun testPaging3(view: View) {
        ARouter.getInstance().build(TEST_PAGING3).navigation()
    }

    fun textWithMore(view: View) {
        ARouter.getInstance().build(TEST_TextWithMore).navigation()
    }

    fun exoplayer(view: View) {
        ARouter.getInstance().build(TEST_EXOOPlayer).navigation()
    }

    fun secondFloor(view: View) {
        ARouter.getInstance().build(TEST_SecondFloor).navigation()

    }

    fun lottieClick(view: View) {
        ARouter.getInstance().build(TEST_Lottie).navigation()
    }


//    11111

    //22222


}